package com.arpa.wms.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wangdong
 * @date 2021-08-04

 */
@Data
@ApiModel(value="拼多多订单", description="拼多多订单")
public class PddOrderDto {

    @ApiModelProperty(value = "API接口名称")
    private String type;

    @ApiModelProperty(value = "POP分配给应用的client_id")
    private String clientId;

    @ApiModelProperty(value = "UNIX时间戳，单位秒，需要与拼多多服务器时间差值在10分钟内")
    private String timestamp;

    @ApiModelProperty(value = "响应格式，即返回数据的格式，JSON或者XML（二选一），默认JSON，注意是大写")
    private String dataType;

    @ApiModelProperty(value = "API协议版本号，默认为V1，可不填")
    private String version;

    @ApiModelProperty(value = "API输入参数签名结果，签名算法参考开放平台接入指南第三部分底部")
    private String sign;

    @ApiModelProperty(value = "通过code获取的access_token")
    private String accessToken;

    @ApiModelProperty(value = "发货状态，1：待发货，2：已发货待签收，3：已签收 5：全部")
    private Integer orderStatus;

    @ApiModelProperty(value = "售后状态 1：无售后或售后关闭，2：售后处理中，3：退款中，4： 退款成功 5：全部")
    private Integer refundStatus;

    @ApiModelProperty(value = "成交时间开始时间的时间戳")
    private Long startConfirmAt;

    @ApiModelProperty(value = "成交时间结束时间的时间戳")
    private Long endConfirmAt;

    @ApiModelProperty(value = "返回页码 默认 1，页码从 1 开始 PS：当前采用分页返回，数量和页数会一起传，如果不传，则采用 默认值")
    private Integer page;

    @ApiModelProperty(value = "返回数量，默认 100。最大 100")
    private Integer pageSize;

    @ApiModelProperty(value = "订单类型 0-普通订单 ，1- 定金订单")
    private Integer tradeType;

    @ApiModelProperty(value = "是否启用has_next的分页方式")
    private Boolean useHasNext;

    @ApiModelProperty(value = "物流公司编码")
    private long logisticsId;

    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "订单状态：1-已打单")
    private Integer orderState;

    @ApiModelProperty(value = "运单号")
    private String waybillNo;

    @ApiModelProperty(value = "订单备注")
    private String note;

    @ApiModelProperty(value = "备注标记：1-红色，2-黄色，3-绿色，4-蓝色，5-紫色，tag与tag_name关联，都入参或都不入参")
    private Integer tag;

    @ApiModelProperty(value = "标记名称；长度最大为3个字符，tag与tag_name关联，都入参或都不入参")
    private String tagName;

    @ApiModelProperty(value = "订单类型（是否抽奖订单），0-全部，1-非抽奖订单，2-抽奖订单")
    private Integer isLuckyFlag;

    @ApiModelProperty(value = "最后更新时间开始时间的时间戳")
    private long startUpdatedAt;

    @ApiModelProperty(value = "最后更新时间结束时间的时间戳")
    private long endUpdatedAt;

    @ApiModelProperty(value = "订单号")
    private String orderSns;

    @ApiModelProperty(value = "发货个性内容")
    private String feature;

    @ApiModelProperty(value = "退货地址的id，不填则取商家默认地址")
    private String refundAddressId;

    @ApiModelProperty(value = "快递单号")
    private String trackingNumber;

    @ApiModelProperty(value = "修改发货模式")
    private Integer redeliveryType;

    @ApiModelProperty(value = "货主code")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "平台")
    private String platformCode;

    @ApiModelProperty(value = "平台名称")
    private String platformName;

    @ApiModelProperty(value = "店铺")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime captureGmtStart;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime captureGmtEnd;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;








}
